@using DNA.Mvc.Community.Controllers;
@model Post
@{
    Layout = "~/Views/Shared/_LayoutPartial.cshtml";
    ViewBag.ImageUrl = "~/content/images/edit_page_48x48.png";
    ViewBag.Title = Html.Global("RES_EDIT") + Model.Title;
    Html.EnableClientValidation();
}
<div style="padding: 10px;">
    @Ajax.Dna().Link(Url.Action("Index", "Thread", new { id = Model.Thread.ID })).Text(Html.Global("forums", "BackTo") + ":" + Model.Title).ImageIcons(Url.Content("~/content/images/icon_back_16.png")).GetHtml()
</div>
@{
    ViewData["Forum"] = Model.Thread.Forum;
    Html.RenderPartial("PostForm", ViewData.Model, ViewData); 
}
@section SiteMapPath{
    @Ajax.ForumMapPath(Model.Thread.Forum.ID)
}
